﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VueAndNetCoreEfApi.PoModel.SystemAdmin
{
    [Table("materialspurchasing")]
    public class MaterialsPurchasing
    {
        public MaterialsPurchasing(){ }

        /// <summary>
        /// 采购ID
        /// </summary>
        [Key]
        public int mp_id { get; set; }

        /// <summary>
        /// 货物名称
        /// </summary>
        public string mp_goods_name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string mp_type { get; set; }

        /// <summary>
        /// 材质
        /// </summary>
        public string mp_texture { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string mp_specification { get; set; }

        /// <summary>
        /// 产地
        /// </summary>
        public string mp_origin { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int mp_num { get; set; }

        /// <summary>
        /// 用途描述
        /// </summary>
        public string mp_purpose { get; set; }

        /// <summary>
        /// 申请人/创建人
        /// </summary>
        public string mp_proposer { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string mp_remark { get; set; }

        /// <summary>
        /// 期望交付日期
        /// </summary>
        public DateTime mp_expect_date { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime mp_createtime { get; set; }
    }
}
